package com.qingcheng.service.order;
import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.order.ReturnOrder;
import com.qingcheng.pojo.order.WholeReturnOrder;

import java.util.*;

/**
 * returnOrder业务逻辑层
 */
public interface ReturnOrderService {


    public List<ReturnOrder> findAll();


    public PageResult<ReturnOrder> findPage(int page, int size);


    public List<ReturnOrder> findList(Map<String,Object> searchMap);


    public PageResult<ReturnOrder> findPage(Map<String,Object> searchMap,int page, int size);


    public ReturnOrder findById(Long id);

    public void add(ReturnOrder returnOrder);


    public void update(ReturnOrder returnOrder);


    public void delete(Long id);

    public WholeReturnOrder findWholeReturnOrder(String id);

    public void agreeRefund(String id,Integer adminId,Integer money);

    public void refuseRefund(String id,Integer adminId,String reason);

    public void agreeReturnGoods(String id,Integer admin);

    public void refuseReturnGoods(String id,Integer admin,String remark);
}
